package com.hutao.medical.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hutao.medical.mapper.audit.AuditRecordMapper;
import com.hutao.medical.pojo.audit.AuditRecord;
import com.hutao.medical.service.AuditRecordService;

@Transactional
@Service
public class AuditRecordServiceImpl implements AuditRecordService{
	@Autowired
	private AuditRecordMapper auditRecordMapper;

	@Transactional(readOnly = true)
	@Override
	public long findAuditRecordCountByFirstGuid(String firstGuid) {
		return auditRecordMapper.findAuditRecordCountByFirstGuid(firstGuid);
	}

	@Override
	public int insertAuditRecord(AuditRecord auditRecord) {
		return auditRecordMapper.insertAuditRecord(auditRecord);
	}

	
	
	
}
